package com.weiyuwqj.api.model;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

@Table(name = "sys_config_ticket_user")
public class SysConfigTicketUser implements Serializable{
    @Id
    private Integer id;

    /**
     * 卡劵规则表id
     */
    @Column(name = "rule_id")
    private Integer ruleId;

    /**
     * 用户id
     */
    @Column(name = "user_id")
    private Integer userId;

    /**
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取卡劵规则表id
     *
     * @return rule_id - 卡劵规则表id
     */
    public Integer getRuleId() {
        return ruleId;
    }

    /**
     * 设置卡劵规则表id
     *
     * @param ruleId 卡劵规则表id
     */
    public void setRuleId(Integer ruleId) {
        this.ruleId = ruleId;
    }

    /**
     * 获取用户id
     *
     * @return user_id - 用户id
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * 设置用户id
     *
     * @param userId 用户id
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }
}